From 805274f7680741fde85da5bd2fd7408ab0f85f0e Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Thu, 18 Aug 2005 19:08:09 +0000 Subject: [PATCH] Free memory returned from xenbus_directory call. Signed-off-by: Christian Limpach --- linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c index d8edd387f7..dcf8d2de31 100644 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c @@ -389,6 +389,7 @@ static int xenbus_probe_backend(const char *type, const char *uuid) if (err) break; } + kfree(dir); kfree(nodename); return err; } -- 2.30.2